PlcScanSetPortActive

 

void @PlcScanSetPortActive(int port, int flag);

 

In the plc_scan program, the port is activated/inactivated.

 

Parameters

port               Number of port

flag               Active/Inactivate (1=active, 0=inactive)

 

Return Value

None

 

Example 1

@PlcScanSetPortActive(0, 1);

Description : Inactivate port 0 of plc_scan.

 

Version Information

Supported Version: 10.3.6

 

Related Helps

@PlcScanSetPortActive()

@PlcScanSetReadDelay()

@PlcScanWriteBit()

@PlcScanWriteBlock()

@PlcScanWriteWord()